package com.bytz.modules.cms.common.constants;

public class CmsConstant {

    public static class Role {
        public static final String ROOT = "root";
        public static final String ADMIN = "admin";
    }
    /**
     * 配置Keys
     */
    public static class ConfigKeys {
        public static final String GROUP_KEY = "order";

        /**
         * 税率
         */
        public static final String TAX_RATE = "cms.global.taxRate";

        /**
         * 供方单位名称
         */
        public static final String SUPPLIER_UNIT_NAME = "cms.global.supplierUnitName";

        /**
         * 供方单位地址
         */
        public static final String SUPPLIER_UNIT_ADDRESS = "cms.global.supplierUnitAddress";

        /**
         * 供方电话
         */
        public static final String SUPPLIER_PHONE = "cms.global.supplierPhone";

        /**
         * 供方传真
         */
        public static final String SUPPLIER_FAX = "cms.global.supplierFax";

        /**
         * 供方邮政编码
         */
        public static final String SUPPLIER_POSTCODE = "cms.global.supplierPostcode";

        /**
         * 签约地点
         */
        public static final String SIGNED_PLACE = "cms.global.signedPlace";

        /**
         * 币种
         */
        public static final String CURRENCY = "cms.global.currency";
        /**
         * 默认支付方式
         */
        public static final String DEFAULT_PAY_TYPE = "cms.global.defaultPayType";
        /**
         * 默认质保期
         */
        public static final String DEFAULT_WARRANTY_PERIOD = "cms.global.defaultWarrantyPeriod";
        /**
         * 支付超时时间
         */
        public static final String PAY_TIME_OUT = "cms.global.payTimeOut";
    }


    /**
     * 配置Keys
     */
    public static class SystemConfigKeys {
        public static final String GROUP_KEY = "system";
        /**
         * 订单预付时间限制
         */
        public static final String ORDER_PREPAY_TIME_LIMIT = "cms.system.orderPrepayTimeLimit";
    }

    /**
     * 配置Keys
     */
    public static class EChopConfigKeys {
        public static final String GROUP_KEY = "e-chop";
        /**
         * 模板id
         */
        public static final String TEMPLATE_ID = "cms.eChop.templateId";
        /**
         * 用印流程id
         */
        public static final String CATEGORY_ID = "cms.eChop.categoryId";
        /**
         * 签署人电话号(账号)
         */
        public static final String SIGNATORY_CONTRACT = "cms.eChop.signatoryContract";
        /**
         * 签署人租户
         */
        public static final String SIGNATORY_TENANT_NAME = "cms.eChop.signatoryTenantName";
        /**
         * 签署人租户类型
         */
        public static final String SIGNATORY_TENANT_TYPE = "cms.eChop.signatoryTenantType";
        /**
         * 签署人编号
         */
        public static final String SIGNATORY_SERIAL_NO = "cms.eChop.signatorySerialNo";
        /**
         * 创建人
         */
        public static final String CREATOR_NAME = "cms.eChop.creatorName";
    }

    /**
     * 缓存Keys
     */
    public static class CachePrefixes {
        /**
         * 产品线等级
         */
        public static final String PRODUCT_LINE_LEVEL = "product_line:level";

        /**
         * 产品分类折扣
         */

        public static final String PRODUCT_CATEGORY_DISCOUNT = "product:category_discount";
    }
}
